# $Id$
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=faad2
pkgver=2.8.5
pkgrel=1
pkgdesc="ISO AAC audio decoder"
arch=('i686' 'x86_64')
url="http://faac.sourceforge.net/"
license=('GPL')
depends=('glibc')
options=('!makeflags')
source=(https://downloads.sourceforge.net/sourceforge/faac/${pkgname}-${pkgver}.tar.gz)
sha256sums=('ba7364ba8ff9256abb8aa4af8736f27d0b7eaab51c14ff828cc86aabff33ec65')

build() {
  cd ${pkgname}-${pkgver}
  ./configure --prefix=/usr
  make
}

package() {
  cd ${pkgname}-${pkgver}
  make DESTDIR="${pkgdir}" install
}
